'''
Created on Feb 25, 2012

@author: daoxuandung
'''

# User
# Invited, but not yet registered
USER_STATUS_INVITED = "INVITED"
# Registered as member, email confirmed
USER_STATUS_ACTIVE = "ACTIVE"
# Pull from Facebook + Gmail but not yet registered
USER_STATUS_INACTIVE = "INACTIVE"
# Email not confirmed
USER_STATUS_EMAIL_NOT_VERIFIED = "EMAIL_NOT_VERIFIED"
# Suspended
USER_STATUS_SUSPENDED = "SUSPENDED"
# User closed account
USER_STATUS_CLOSED = "CLOSED"

##############################################################################
# EVENT
EVENT_PRIVACY_PRIVATE = "PRIVATE"
EVENT_PRIVACY_PUBLIC = "PUBLIC"

RSVP_PENDING = "PENDING"
RSVP_CONFIRMED = "CONFIRMED"
RSVP_DECLINED = "DECLINED"

# Event List Type
LIST_WATCH = "WATCH"
LIST_MUSIC = "MUSIC"
LIST_SPORT = "SPORT"


##############################################################################
# Facebook
FACEBOOK_APP_ID = "141316342588862"
FACEBOOK_APP_SECRET = "1d3a1ff85a25ad7fe3d089604fc18517"

# Paypal
PAYPAL_TEST_URL = 'https://svcs.sandbox.paypal.com/AdaptivePayments/Pay/'
PAYPAL_TEST_USERID = 'dxdbk_1337044522_biz_api1.yahoo.com'
PAYPAL_TEST_PW = '1337044548'
PAYPAL_TEST_SIGNATURE = 'AXzb-d-klcDC-Att23NHlLF7irDWAVrhz6jiUg4JGHHwXvlGNmP-ADWK'
PAYPAL_TEST_EVENT_ORG = 'event_1337045355_biz@yahoo.com'
PAYPAL_TEST_INVITESQ = 'dxdbk_1337044522_biz@yahoo.com'


##############################################################################
# Yahoo
YAHOO_APP_ID = 'EsZ9PX7g'
YAHOO_CONSUMER_KEY = 'dj0yJmk9OGYzR0NCM01SY2VmJmQ9WVdrOVJYTmFPVkJZTjJjbWNHbzlNVGN4TURjeE5qWTJNZy0tJnM9Y29uc3VtZXJzZWNyZXQmeD1kOQ--'
YAHOO_CONSUMER_SECRET = 'd7636d3a5c12576a10677be2cbe3ea94fce77aba'
YAHOO_REQUEST_TOKEN_URL = 'https://api.login.yahoo.com/oauth/v2/get_request_token'
YAHOO_REQUEST_AUTH_URL = 'https://api.login.yahoo.com/oauth/v2/request_auth'
YAHOO_GET_TOKEN_URL = 'https://api.login.yahoo.com/oauth/v2/get_token'


##############################################################################
# Google
GOOGLE_CLIENT_ID = '566012327554-7ucggslrnn99hp6vbemghgiis96oekkg.apps.googleusercontent.com'
GOOGLE_CLIENT_SECRET = 'NcFXZIwqW1x_BPbJJpJ4tSnV'
GOOGLE_SCOPE_CONTACT_URL = 'https://www.google.com/m8/feeds/'
GOOGLE_SCOPE_EMAIL_URL = 'https://www.googleapis.com/auth/userinfo.email'
GOOGLE_SCOPE_PROFILE_URL = 'https://www.googleapis.com/auth/userinfo.profile'
GOOGLE_REQUEST_TOKEN_URL = 'https://accounts.google.com/o/oauth2/auth'
GOOGLE_REQUEST_ACCESS_TOKEN_URL = 'https://accounts.google.com/o/oauth2/token'
GOOGLE_PROFILE_URL = 'https://www.googleapis.com/oauth2/v1/userinfo'
GOOGLE_CONTACT_URL = 'https://www.google.com/m8/feeds/contacts/%s/full?v=3.0&max-results=3000&access_token=%s'